home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D ScreenRes / 4D ScreenRes.rsrc / TEXT_3316_4D ScreenRes 1.0.2.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  769 b   |  31 lines

  1. RR ScreenRes(HRes;VRes;Depth)
  2.  
  3. This external returns the screen resolution and screen depth of the main screen.
  4.  
  5. HRes       integer       the horizontal resolution.
  6. VRes       integer       the vertical resolution.
  7. Depth      longint        the bit depth of the main screen.
  8. ¬†                                    1¬†B/W
  9. ¬†                                  ¬†2 Four colors
  10. ¬†                                  ¬†4 Sixteen colors
  11. ¬†                                  ¬†8¬†256 colors
  12. ¬†                                  16 Thousands of colors
  13. ¬†                                  32 Millions of colors
  14.  
  15.  
  16. History:
  17. 1.0 First release
  18.  
  19. 1.0.1
  20. - Improved code for depth value.
  21.  
  22. 1.0.2
  23. - Fixed problem with incorrect returned depth value.
  24.  
  25.  
  26. ¬© 1993-1994, Ren√© G.A. Ros
  27. Freeware.
  28.  
  29.  
  30.  
  31.